/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ContentManagers.Models;

import java.text.SimpleDateFormat;
import java.util.Calendar;

/**
 *
 * @author Ervin  James
 */
public class Customer {
    private int id;
    private String firstName;
    private String lastName;
    private String middleInitial;
    private String username;
    private String password;
    private String email;
    private String billingHouseNo;
    private String billingStreet;
    private String billingSubdivision;
    private String billingCity;
    private String billingPostalCode;
    private String billingCountry;
    private String deliveryHouseNo;
    private String deliveryStreet;
    private String deliverySubdivision;
    private String deliveryCity;
    private String deliveryPostalCode;
    private String deliveryCountry;
    private String creditCardName;
    private String creditCardNo;
    private String creditCardType;
    private String expirationDate;
    private boolean accountStatus;
    private String passwordSalt;
    private boolean passwordStatus;
    private String passwordTimestamp;
    
    void setTimeStamp() {
    Calendar date = Calendar.getInstance();
    SimpleDateFormat dateformatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
    passwordTimestamp = dateformatter.format(date.getTime());
    }
    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the firstName
     */
    public String getFirstName() {
        return firstName;
    }

    /**
     * @param firstName the firstName to set
     */
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    /**
     * @return the lastName
     */
    public String getLastName() {
        return lastName;
    }

    /**
     * @param lastName the lastName to set
     */
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the billingHouseNo
     */
    public String getBillingHouseNo() {
        return billingHouseNo;
    }

    /**
     * @param billingHouseNo the billingHouseNo to set
     */
    public void setBillingHouseNo(String billingHouseNo) {
        this.billingHouseNo = billingHouseNo;
    }

    /**
     * @return the billingStreet
     */
    public String getBillingStreet() {
        return billingStreet;
    }

    /**
     * @param billingStreet the billingStreet to set
     */
    public void setBillingStreet(String billingStreet) {
        this.billingStreet = billingStreet;
    }

    /**
     * @return the billingSubdivision
     */
    public String getBillingSubdivision() {
        return billingSubdivision;
    }

    /**
     * @param billingSubdivision the billingSubdivision to set
     */
    public void setBillingSubdivision(String billingSubdivision) {
        this.billingSubdivision = billingSubdivision;
    }

    /**
     * @return the billingCity
     */
    public String getBillingCity() {
        return billingCity;
    }

    /**
     * @param billingCity the billingCity to set
     */
    public void setBillingCity(String billingCity) {
        this.billingCity = billingCity;
    }

    /**
     * @return the billingPostalCode
     */
    public String getBillingPostalCode() {
        return billingPostalCode;
    }

    /**
     * @param billingPostalCode the billingPostalCode to set
     */
    public void setBillingPostalCode(String billingPostalCode) {
        this.billingPostalCode = billingPostalCode;
    }

    /**
     * @return the billingCountry
     */
    public String getBillingCountry() {
        return billingCountry;
    }

    /**
     * @param billingCountry the billingCountry to set
     */
    public void setBillingCountry(String billingCountry) {
        this.billingCountry = billingCountry;
    }

    /**
     * @return the deliveryHouseNo
     */
    public String getDeliveryHouseNo() {
        return deliveryHouseNo;
    }

    /**
     * @param deliveryHouseNo the deliveryHouseNo to set
     */
    public void setDeliveryHouseNo(String deliveryHouseNo) {
        this.deliveryHouseNo = deliveryHouseNo;
    }

    /**
     * @return the deliveryStreet
     */
    public String getDeliveryStreet() {
        return deliveryStreet;
    }

    /**
     * @param deliveryStreet the deliveryStreet to set
     */
    public void setDeliveryStreet(String deliveryStreet) {
        this.deliveryStreet = deliveryStreet;
    }

    /**
     * @return the deliverySubdivision
     */
    public String getDeliverySubdivision() {
        return deliverySubdivision;
    }

    /**
     * @param deliverySubdivision the deliverySubdivision to set
     */
    public void setDeliverySubdivision(String deliverySubdivision) {
        this.deliverySubdivision = deliverySubdivision;
    }

    /**
     * @return the deliveryCity
     */
    public String getDeliveryCity() {
        return deliveryCity;
    }

    /**
     * @param deliveryCity the deliveryCity to set
     */
    public void setDeliveryCity(String deliveryCity) {
        this.deliveryCity = deliveryCity;
    }

    /**
     * @return the deliveryPostalCode
     */
    public String getDeliveryPostalCode() {
        return deliveryPostalCode;
    }

    /**
     * @param deliveryPostalCode the deliveryPostalCode to set
     */
    public void setDeliveryPostalCode(String deliveryPostalCode) {
        this.deliveryPostalCode = deliveryPostalCode;
    }

    /**
     * @return the deliveryCountry
     */
    public String getDeliveryCountry() {
        return deliveryCountry;
    }

    /**
     * @param deliveryCountry the deliveryCountry to set
     */
    public void setDeliveryCountry(String deliveryCountry) {
        this.deliveryCountry = deliveryCountry;
    }

    /**
     * @return the creditCardName
     */
    public String getCreditCardName() {
        return creditCardName;
    }

    /**
     * @param creditCardName the creditCardName to set
     */
    public void setCreditCardName(String creditCardName) {
        this.creditCardName = creditCardName;
    }

    /**
     * @return the creditCardNo
     */
    public String getCreditCardNo() {
        return creditCardNo;
    }

    /**
     * @param creditCardNo the creditCardNo to set
     */
    public void setCreditCardNo(String creditCardNo) {
        this.creditCardNo = creditCardNo;
    }

    /**
     * @return the creditCardType
     */
    public String getCreditCardType() {
        return creditCardType;
    }

    /**
     * @param creditCardType the creditCardType to set
     */
    public void setCreditCardType(String creditCardType) {
        this.creditCardType = creditCardType;
    }

    /**
     * @return the expirationDate
     */
    public String getExpirationDate() {
        return expirationDate;
    }

    /**
     * @param expirationDate the expirationDate to set
     */
    public void setExpirationDate(String expirationDate) {
        this.expirationDate = expirationDate;
    }

    /**
     * @return the accountStatus
     */
    public boolean isAccountStatus() {
        return accountStatus;
    }

    /**
     * @param accountStatus the accountStatus to set
     */
    public void setAccountStatus(boolean accountStatus) {
        this.accountStatus = accountStatus;
    }

    /**
     * @return the passwordSalt
     */
    public String getPasswordSalt() {
        return passwordSalt;
    }

    /**
     * @param passwordSalt the passwordSalt to set
     */
    public void setPasswordSalt(String passwordSalt) {
        this.passwordSalt = passwordSalt;
    }

    /**
     * @return the middleInitial
     */
    public String getMiddleInitial() {
        return middleInitial;
    }

    /**
     * @param middleInitial the middleInitial to set
     */
    public void setMiddleInitial(String middleInitial) {
        this.middleInitial = middleInitial;
    }

    /**
     * @return the passwordStatus
     */
    public boolean isPasswordStatus() {
        return passwordStatus;
    }

    /**
     * @param passwordStatus the passwordStatus to set
     */
    public void setPasswordStatus(boolean passwordStatus) {
        this.passwordStatus = passwordStatus;
    }

    /**
     * @return the middleInitial
     */
   

    /**
     * @return the id
     */
    
}
